
    import request from '@/utils/request'
    // 查询队伍学生关联表列表
    export const listTeamStudent = (query) => {
    return request({
        url: '/system/teamStudent/list',
        method: 'get',
        params: query
    })
    }
    // 查询队伍学生关联表详细
    export const getTeamStudent = (studentId) => {
    return request({
        url: '/system/teamStudent/' + studentId,
        method: 'get'
    })
    }
    
    // 新增队伍学生关联表
    export const addTeamStudent = (data) => {
    return request({
        url: '/system/teamStudent',
        method: 'post',
        data: data
    })
    }

    // 修改队伍学生关联表
    export const updateTeamStudent = (data) => {    
    return request({
        url: '/system/teamStudent',
        method: 'put',
        data: data
    })
    }

    // 删除队伍学生关联表
    export const delTeamStudent = (studentId) => {  
    return request({
        url: '/system/teamStudent/' + studentId,
        method: 'delete'
    })
    }
    
    // 导出队伍学生关联表
    export const exportTeamStudent = (data) => {
    return request({
        url: '/system/teamStudent/export',
        method: 'post',
        data: data
    })
    }
    